

import 'package:flutter_book/api/api.dart';

class ApiCommon{

  static Future<String?> requestGetUrl(String url) async {
    Map<String, dynamic> params = {};
    return await requestApi(url, params, requestMethod: METHOD_GET);
  }

  static Future<String?> requestPostUrl(String url) async {
    Map<String, dynamic> params = {};
    return await requestApi(url, params, requestMethod: METHOD_POST);
  }
}